package com.huangliusong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.HashSet;
import java.util.Set;

/**
 * @author huangliusong
 * @since 2018-09-28
 * {@link SpringApplication}
 */
@SpringBootApplication
public class SpringApplicationBootstrap {
    public  static void main(String[] args){
        Set<String> sources=new HashSet<>();
        sources.add(SpringApplicationBootstrap.class.getName());
        SpringApplication application=  new SpringApplication();
        application.setSources(sources);
        //application.setWebApplicationType(WebApplicationType.NONE);
        application.run(args);

    }
}
